import request from "@/utils/request.js";

// 获取支付下单数据
export function paySignData(data) {
  return request.post('bh/pay/paySignData',data);
}

// 微信支付
export function payWx(data) {
  return request.post('bh/pay/paySignMap',data);
}

// 订单状态查询
export function orderStatus(data) {
  return request.post('bh/pay/order/status',data);
}

// 订单信息查询
export function orderQuery(data) {
  return request.post('bh/pay/order/query',data);
}

// 我的订单
export function orderMine(data) {
  return request.post('bh/pay/order/mine',data);
}

// 查询退费申请订单详情
export function examineDetail(examineId) {
  return request.get('bh/pay/refund/examine/'+examineId+'/detail');
}


// 审核退费
export function examine(examineId,userId) {
  return request.post('bh/pay/refund/examine/'+examineId+'/examine?userId='+userId);
}